package com.loong.android;

import android.content.Intent;
import android.content.res.Configuration;
import android.os.Bundle;
import android.view.KeyEvent;

import androidx.annotation.NonNull;
import androidx.annotation.Nullable;

public abstract class WinLife {
    public void onCreate(Bundle savedInstanceState){ }

    public void onResume(){ }

    public void onStart(){ }

    public void onRestart(){ }

    public void onPause(){ }

    public void onStop(){ }

    public void onDestroy(){ }

    public void onWindowFocusChanged(boolean hasFocus){ }

    public void onNewIntent(Intent intent){ }

    public void onConfigurationChanged(Configuration newConfig){ }

    public void onKeyDown(int keyCode, KeyEvent event){ }

    public void onKeyUp(int keyCode, KeyEvent event){ }

    public void onKeyLongPress(int keyCode, KeyEvent event){ }

    public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {}

    public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions, @NonNull int[] grantResults) {}
}
